package com.example.f8399.testdemo.utils.retrofit;

/**
 * Created by f8399 on 2018/9/15.
 */

import com.example.f8399.testdemo.entity.Test1Entity;


import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @description 总api.
 *
 * @author lcfeng
 * @date   2018/9/15 12:09.
**/
public interface AppApi {
    public static String BASE_URL = "http://api.douban.com";

    //子模块api
    public interface LoginApi {
        @GET("/v2/movie/top250")
        retrofit2.Call<Test1Entity> login();

        @GET("/v2/movie/top250?apikey=0df993c66c0c636e29ecbb5344252a4a")
        Observable<ResponseBody> login2();
    }

    //子模块api
    public interface Home {

    }


}
